﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Teriri.File.Client.Maui.Model
{
    /// <summary>
    /// 可选文件清单
    /// </summary>
    public class AndroidFilePickerFileType
    {
        public static readonly FilePickerFileType TypeArr = new FilePickerFileType(new Dictionary<DevicePlatform, IEnumerable<string>> { { DevicePlatform.Android, MIME_Arr }, });

        private static readonly string[] MIME_Arr = {
                        "application/octet-stream" ,
                        "application/zip",
                        "application/x-7z-compressed",
                        "application/pdf",
                        "text/plain",
                        "application/msword",
                        "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
                        "image/gif",
                        "text/html",
                        "image/vnd.microsoft.icon",
                        "image/jpeg",
                        "audio/mpeg",
                        "image/png",
                        "application/vnd.ms-powerpoint",
                        "application/vnd.openxmlformats-officedocument.presentationml.presentation",
                        "application/x-sh",
                        "audio/wav",
                        "audio/webm",
                        "image/webp",
                        "application/vnd.ms-excel",
                        "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
                        "application/xml",
                        "text/xml",
                        "audio/mp4",
                        "audio/MP4A-LATM",
                    };
    }
}
